package org.nf.shopping.service;

import com.github.pagehelper.PageInfo;
import org.nf.shopping.entity.Admin;

import java.util.List;

/**
 * @Author czl
 * @Date 2024-12-01
 */
public interface AdminService {
    PageInfo<Admin> listAdmin(Integer pageSize,Integer pageNum,String name);

    void updateAdmin(Admin admin);

    void deloneAdmin(Integer id);

    void addAdmin(Admin admin);

    List<Admin> getAdminList();
}
